package com.yuda.campsite.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 student_info
 *
 * @author wyn
 * @date 2021-09-27
 */
public class StudentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String uuid;

    /** 考生姓名 */
    @Excel(name = "考生姓名")
    private String name;

    /** 省份证号 */
    @Excel(name = "省份证号")
    private String idCard;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 性别 0是男 1是女 */
    @Excel(name = "性别 0是男 1是女")
    private Integer gender;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 头像 */
    @Excel(name = "头像")
    private String avatarPath;

    /** 籍贯省份 */
    @Excel(name = "籍贯省份")
    private String jiguanProvince;

    /** 籍贯城市 */
    @Excel(name = "籍贯城市")
    private String jiguanCity;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birthday;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalStatus;

    /** 入学年份 */
    @Excel(name = "入学年份")
    private String startSchoolDate;

    /** 学校所在省份 */
    @Excel(name = "学校所在省份")
    private String schoolProvince;

    /** 学校所在城市 */
    @Excel(name = "学校所在城市")
    private String schoolCity;

    /** 学校 */
    @Excel(name = "学校")
    private String school;

    /** 其他学校名称 */
    @Excel(name = "其他学校名称")
    private String otherschool;

    /** 中学联系人 */
    @Excel(name = "中学联系人")
    private String schoolContacts;
    /**更新时间*/
    private long updateTime2;

    public long getUpdateTime2() {
        return System.currentTimeMillis()/1000;
    }

    public void setUpdateTime2(long updatetTime2) {
        this.updateTime2 = updatetTime2;
    }

    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public String getUuid()
    {
        return uuid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setNation(String nation)
    {
        this.nation = nation;
    }

    public String getNation()
    {
        return nation;
    }
    public void setGender(Integer gender)
    {
        this.gender = gender;
    }

    public Integer getGender()
    {
        return gender;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setAvatarPath(String avatarPath)
    {
        this.avatarPath = avatarPath;
    }

    public String getAvatarPath()
    {
        return avatarPath;
    }
    public void setJiguanProvince(String jiguanProvince)
    {
        this.jiguanProvince = jiguanProvince;
    }

    public String getJiguanProvince()
    {
        return jiguanProvince;
    }
    public void setJiguanCity(String jiguanCity)
    {
        this.jiguanCity = jiguanCity;
    }

    public String getJiguanCity()
    {
        return jiguanCity;
    }
    public void setBirthday(String birthday)
    {
        this.birthday = birthday;
    }

    public String getBirthday()
    {
        return birthday;
    }
    public void setPoliticalStatus(String politicalStatus)
    {
        this.politicalStatus = politicalStatus;
    }

    public String getPoliticalStatus()
    {
        return politicalStatus;
    }
    public void setStartSchoolDate(String startSchoolDate)
    {
        this.startSchoolDate = startSchoolDate;
    }

    public String getStartSchoolDate()
    {
        return startSchoolDate;
    }
    public void setSchoolProvince(String schoolProvince)
    {
        this.schoolProvince = schoolProvince;
    }

    public String getSchoolProvince()
    {
        return schoolProvince;
    }
    public void setSchoolCity(String schoolCity)
    {
        this.schoolCity = schoolCity;
    }

    public String getSchoolCity()
    {
        return schoolCity;
    }
    public void setSchool(String school)
    {
        this.school = school;
    }

    public String getSchool()
    {
        return school;
    }
    public void setOtherschool(String otherschool)
    {
        this.otherschool = otherschool;
    }

    public String getOtherschool()
    {
        return otherschool;
    }
    public void setSchoolContacts(String schoolContacts)
    {
        this.schoolContacts = schoolContacts;
    }

    public String getSchoolContacts()
    {
        return schoolContacts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("name", getName())
            .append("idCard", getIdCard())
            .append("nation", getNation())
            .append("gender", getGender())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("avatarPath", getAvatarPath())
            .append("createTime", getCreateTime())
            .append("updateTime2", getUpdateTime())
            .append("jiguanProvince", getJiguanProvince())
            .append("jiguanCity", getJiguanCity())
            .append("birthday", getBirthday())
            .append("politicalStatus", getPoliticalStatus())
            .append("startSchoolDate", getStartSchoolDate())
            .append("schoolProvince", getSchoolProvince())
            .append("schoolCity", getSchoolCity())
            .append("school", getSchool())
            .append("otherschool", getOtherschool())
            .append("schoolContacts", getSchoolContacts())
            .toString();
    }
}
